﻿<%@ Page Title="" Language="C#" MasterPageFile="~/kcadastro.Master" AutoEventWireup="true" CodeBehind="thread_list.aspx.cs" Inherits="Kcadastro.adm.thread_list" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="formulario">
    <asp:Repeater ID="rp_threads" runat="server" 
        onitemcommand="rp_threads_ItemCommand">
    <HeaderTemplate></HeaderTemplate>
    <ItemTemplate>
        <table width="650" border="1" class="tableMain">
            <tr>
                <td>Thread ID: <%# DataBinder.Eval(Container.DataItem, "PK_IDt") %> <asp:Button runat="server" Text="CANCEL" CssClass="btn btn-primary" CommandName="CNL" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "PK_IDt") %>' /></td>
                <td>OS nº: <strong><%# DataBinder.Eval(Container.DataItem, "FK_IDos") %></strong></td>
                <td><%# DataBinder.Eval(Container.DataItem, "EMPRESA") %> </td>
            </tr>
            <tr>
                <td>TIPO: <strong><%# DataBinder.Eval(Container.DataItem, "tipo") %></strong> - STTS: <strong><%# DataBinder.Eval(Container.DataItem, "stts") %></strong></td>
                <td>QTD: <strong><%# DataBinder.Eval(Container.DataItem, "QTDPROC") %>/<%# DataBinder.Eval(Container.DataItem, "QTDREGS") %></strong></td>
                <td>INÍCIO: <%# DataBinder.Eval(Container.DataItem, "dt_inicio", "{0:dd/MM/yyyy hh:mm}") %></td>
            </tr>
        </table>
    </ItemTemplate>
    <FooterTemplate></FooterTemplate>
    </asp:Repeater>

</div>
</asp:Content>
